package com.wanqing.community.manager;
import com.wanqing.community.bean.GoodsBean;
import com.wanqing.community.util.CommunityException;

import java.util.List;
import java.util.Map;

/**
 * Created by pc on 2016/2/14.
 */
public interface GoodsManager {


    int getGoodsCount(Map<String, Object> mapPram)  throws CommunityException;

    List<GoodsBean> getGoods(Map<String, Object> mapPram)  throws CommunityException;

    boolean addGood(GoodsBean goodsBean)  throws CommunityException;

    boolean updateGood(GoodsBean goodsBean)  throws CommunityException;

    boolean deleteGoods(List<String> list)  throws CommunityException;

    GoodsBean findGoodsById(String id)  throws CommunityException;
}
